<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="vue.js"></script>
</head>
<body>
<div id="root">
  <img width="100" height="100" src="http://gips2.baidu.com/it/u=195724436,3554684702&fm=3028&app=3028&f=JPEG&fmt=auto?w=1280&h=960" alt="">
  <hr/>
  <img  :width="w"  :height="h" :src="src" >
</div>
</body>
<script>
  new Vue({
    el: '#root',
    data: {
      src:'http://gips2.baidu.com/it/u=195724436,3554684702&fm=3028&app=3028&f=JPEG&fmt=auto?w=1280&h=960',
      w:200,
      h:200,
      one:"width",
      two:"height",
    }
  })

</script>
</html>